Makes the specified variable local to the procedure where local is used. Local can only be used in a procedure. See let, make, and name.
Example:
to move
local "dist
make "dist 100
fd :dist
end
Try the procedure in the Command Center. The turtle will move. When the procedure is over, check the value of the variables. Variables have lost their values. They don't even exist.